package com.cby.springboot.demo.service;

import com.cby.springboot.demo.bean.AdminRolePermission;

import java.util.List;

public interface AdminRolePermissionService {

    List<AdminRolePermission> findAll();

    List<AdminRolePermission> findByRid(int rid);

    List<AdminRolePermission> findByPid(int pid);

    List<AdminRolePermission> findAllByRid(List<Integer> rids);

    List<AdminRolePermission> findAllByPid(List<Integer> pids);
}
